package com.waitingresult.common.base.domain.validated;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : ValidateVo
 * @Description : SpringBoot 验证信息封装类对象
 * @date : 2021/9/12 11:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ValidateVo implements Serializable {

    private static final long serialVersionUID = 8755845979218619534L;

    /**
     * 验证错误的参数名称
     */
    private String field;

    /**
     * 验证错误信息
     */
    private String message;
}
